package com.wl.service;

import com.wl.entity.Admin;
import com.wl.entity.Emp;
import com.wl.util.PageData;

public interface AdminService {
	
	//分页查询
	public PageData<Admin> getAdminByPage(int page, int limit, String content);
    
	//增加
	public boolean addAdmin(Admin admin);

	//修改
	public boolean updateAdmin(Admin admin);

	//登录
	public Admin login(Admin admin);

	//根据编号删除
	public boolean delAdminById(int userId);
	
	//检查账号密码
    public boolean checkLoginByAdmin(String adminname,String adminpwd);


}
